package com.bubblegumproject.ogo.component;

import java.io.Serializable;

/**
 * Reflects a DependentComponent a Component may have on another Component.
 *
 * @author Azubuko Obele (buko.obele@gmail.com)
 */
public class DependentComponent implements Serializable {

    private Setter setter;

    public DependentComponent(Setter setter) {
        assert(setter != null);
        this.setter = setter;
    }

    public Setter getSetterMethod() {
        return setter;
    }
}
